Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 19, 2025

The default behaviour does not change since FAKE_DYLIBS defaults to true.

However for users who want to try out a more traditional shared library workflow -sFAKE_DYLIBS=0 can be used enable shared library output with -shared.

At some point in the future we can consider making this the default.

Split out from #25817

@sbc100 sbc100 requested review from dschuff and kripken November 19, 2025 00:39
@dschuff
Copy link
Member

dschuff commented Nov 19, 2025

This this change the default behaviour does not change since FAKE_DYLIBS defaults to false.

Do you mean this "does not" change the default behavior?

@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 19, 2025

This this change the default behaviour does not change since FAKE_DYLIBS defaults to false.

Do you mean this "does not" change the default behavior?

Fixed

@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 20, 2025

@hoodmane hopefully this will be good for you guys and simplify building python side modules

@sbc100 sbc100 force-pushed the fake_dylibs branch 2 times, most recently from dea16bc to bd68dca Compare November 20, 2025 20:36
@sbc100 sbc100 requested a review from dschuff November 20, 2025 21:18
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 20, 2025

This this change the default behaviour does not change since FAKE_DYLIBS defaults to false.

Do you mean this "does not" change the default behavior?

Fixed

This this change the default behaviour does not change since
`FAKE_DYLIBS` defaults to false.

However for users who want to try out a more traditional shared library
workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with
`-shared`.

At some point in the future we can consider making this the default.

Split out from emscripten-core#25817
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 20, 2025

PTAL, tests are all passing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants